bridge
interface/bridge
Conditions: MSRP_ENABLE
Type: Directory
| Flag | Name | Description |
|---|---|---|
| Y | managed | managed |
| D | dynamic | dynamic |
| X | disabled | disabled |
| R | running | running |
| Argument | Type | Description |
|---|---|---|
| name | string | |
| mtu | num | |
| arp | enum (disabled | enabled | proxy-arp | reply-only | local-proxy-arp) | |
| arp-timeout | alt { enum (auto) { auto:0 } , time } | |
| protocol-mode | enum (none | stp | rstp | mstp) | |
| fast-forward | bool | |
| igmp-snooping | bool | |
| multicast-router | enum (disabled | temporary-query | permanent) | |
| multicast-querier | bool { } | |
| startup-query-count | num { } | |
| last-member-query-count | num { } | |
| last-member-interval | time { } | |
| membership-interval | time { } | |
| querier-interval | time { } | |
| query-interval | time { } | |
| query-response-interval | time { } | |
| startup-query-interval | time { } | |
| igmp-version | enum (2 | 3) | |
| mld-version | enum (1 | 2) | |
| auto-mac | bool | |
| admin-mac | macAddr { } | |
| ageing-time | time | |
| priority | num { } | |
| max-message-age | time { } | |
| forward-delay | time { } | |
| transmit-hold-count | num { } | |
| region-name | string { } | |
| region-revision | num { } | |
| max-hops | num { } | |
| vlan-filtering | bool | |
| ether-type | enum (0x8100 | 0x88a8 | 0x9100) | |
| pvid | num { } | |
| frame-types | enum (admit-all | admit-only-vlan-tagged | admit-only-untagged-and-priority-tagged) | |
| ingress-filtering | bool { } | |
| dhcp-snooping | bool | |
| dhcp-agent-circuit-id | string | |
| dhcp-agent-remote-id | string | |
| dhcpv6-snooping | bool | |
| dhcpv6-agent-circuit-id | string | |
| dhcpv6-agent-remote-id | string | |
| ra-guard | bool | |
| port-cost-mode | bool | |
| mvrp | bool { } | |
| msrp | bool | |
| forward-reserved-addresses | bool { } | |
| max-learned-entries | alt { enum (unlimited | auto) { unlimited:bridge::B_MAX_LEARN_UNLIMITED, auto:bridge::B_MAX_LEARN_AUTO } , num } | |
| mlag-peer-port | alt { interface_enum { none:nv::BADID } { none:nv::BADID } , interface_enum } | |
| mlag-priority | num | |
| mlag-heartbeat | alt { enum (none) { none:0 } , time [1s .. 10s] } |
| Read-only Argument | Type | Description |
|---|---|---|
| actual-mtu | num | |
| l2mtu | num | |
| mac-address | macAddr |
interface/bridge/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| state | enum (disabled | disabled | enabled | enabled) | |
| current-mac-address | macAddr | |
| bridge-id | composite_arg { , } | |
| root-bridge | bool | |
| root-bridge-id | composite_arg { , } | |
| regional-root-bridge-id | composite_arg { , } | |
| root-path-cost | num | |
| root-port | interface_enum { none:0 } | |
| port-count | num | |
| designated-port-count | num | |
| mst-config-digest | string | |
| fast-forward | bool | |
| multicast-router | bool | |
| igmp-querier | composite_arg { , } | |
| mld-querier | composite_arg { , } | |
| declared-vlan-ids | multi_arg { , , range_arg } | |
| registered-vlan-ids | multi_arg { , , range_arg } | |
| mlag-state | string | |
| mlag-active-role | enum (primary | secondary) |
interface/bridge/settings
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| use-ip-firewall | bool | |
| use-ip-firewall-for-vlan | bool | |
| use-ip-firewall-for-pppoe | bool | |
| allow-fast-path | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| bridge-fast-path-active | bool | |
| bridge-fast-path-packets | num | |
| bridge-fast-path-bytes | num | |
| bridge-fast-forward-packets | num | |
| bridge-fast-forward-bytes | num |
interface/bridge/msti
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| identifier ( mandatory ) | num | |
| bridge ( mandatory ) | interface_enum | |
| priority | num | |
| vlan-mapping ( mandatory ) | multi_arg { , , range_arg [1 .. 4094] } |
interface/bridge/msti/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| state | enum (disabled | disabled | enabled | enabled) | |
| identifier | num | |
| current-mac-address | macAddr | |
| bridge-id | composite_arg { , } | |
| root-bridge | bool | |
| regional-root-bridge-id | composite_arg { , } | |
| root-path-cost | num | |
| root-port | interface_enum { none:0 } | |
| port-count | num | |
| designated-port-count | num |
interface/bridge/port
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | inactive | inactive |
| D | dynamic | dynamic |
| H | hw-offload | hw-offload |
| Y | managed | managed |
| Argument | Type | Description |
|---|---|---|
| interface ( mandatory ) | alt { interface_enum { } { } , enum } | |
| bridge ( mandatory ) | interface_enum | |
| priority | num | |
| path-cost | num | |
| internal-path-cost | num | |
| edge | enum (auto | yes | no | yes-discover | no-discover) | |
| point-to-point | enum (auto | yes | no) | |
| learn | enum (auto | yes | no) | |
| horizon | num | |
| hw | bool | |
| auto-isolate | bool | |
| restricted-role | bool | |
| restricted-tcn | bool | |
| pvid | num | |
| frame-types | enum (admit-all | admit-only-vlan-tagged | admit-only-untagged-and-priority-tagged) | |
| ingress-filtering | bool | |
| unknown-unicast-flood | bool | |
| unknown-multicast-flood | bool | |
| broadcast-flood | bool | |
| tag-stacking | bool | |
| bpdu-guard | bool | |
| trusted | bool | |
| trusted-ra | bool | |
| trusted-dhcpv6 | bool | |
| mvrp-registrar-state | enum (normal | fixed) | |
| mvrp-applicant-state | enum (normal-participant | non-participant) | |
| multicast-router | enum (disabled | temporary-query | permanent) | |
| fast-leave | bool |
| Read-only Argument | Type | Description |
|---|---|---|
| parent | enum | |
| status | enum (inactive | in-bridge | in-bridge | disabled) | |
| port-id | composite_arg { , } | |
| role | enum (disabled-port | root-port | designated-port | alternate-port | backup-port) | |
| edge-port | bool | |
| edge-port-discovery | bool | |
| point-to-point-port | bool | |
| external-fdb-status | bool | |
| sending-rstp | bool | |
| learning | bool | |
| forwarding | bool | |
| actual-path-cost | num | |
| root-path-cost | num | |
| internal-root-path-cost | num | |
| designated-bridge-id | composite_arg { , } | |
| designated-cost | num | |
| designated-port-id | composite_arg { , } | |
| tx-bpdu | num | |
| rx-bpdu | num | |
| discard-transitions | num | |
| forward-transitions | num | |
| tx-tc | num | |
| rx-tc | num | |
| topology-changes | num | |
| last-topology-change | time | |
| multicast-router | bool | |
| hw-offload-group | enum | |
| declared-vlan-ids | multi_arg { , , range_arg } | |
| registered-vlan-ids | multi_arg { , , range_arg } | |
| hw-offload | bool | |
| debug-info | string |
interface/bridge/port/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| interface | alt { interface_enum , enum } | |
| status | enum (inactive | in-bridge | in-bridge | disabled) | |
| port-id | composite_arg { , } | |
| role | enum (disabled-port | root-port | designated-port | alternate-port | backup-port) | |
| edge-port | bool | |
| edge-port-discovery | bool | |
| point-to-point-port | bool | |
| external-fdb | bool | |
| sending-rstp | bool | |
| learning | bool | |
| forwarding | bool | |
| actual-path-cost | num | |
| root-path-cost | num | |
| internal-root-path-cost | num | |
| designated-bridge-id | composite_arg { , } | |
| designated-cost | num | |
| designated-internal-cost | num | |
| designated-port-id | composite_arg { , } | |
| designated-message-age | num | |
| designated-max-age | num | |
| designated-remaining-hops | num | |
| tx-rx-bpdu | composite_arg { , } | |
| discard-transitions | num | |
| forward-transitions | num | |
| tx-rx-tc | composite_arg { , } | |
| topology-changes | num | |
| last-topology-change | time | |
| multicast-router | bool | |
| hw-offload-group | enum | |
| declared-vlan-ids | multi_arg { , , range_arg } | |
| registered-vlan-ids | multi_arg { , , range_arg } |
interface/bridge/port/mst-override
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| interface ( mandatory ) | interface_enum | |
| identifier ( mandatory ) | num | |
| priority | num | |
| internal-path-cost | num |
| Read-only Argument | Type | Description |
|---|---|---|
| debug-info | string |
interface/bridge/port/mst-override/monitor
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| port | interface_enum | |
| status | enum (inactive | in-bridge | in-bridge | disabled) | |
| identifier | num | |
| port-id | composite_arg { , } | |
| role | enum (disabled-port | root-port | designated-port | alternate-port | backup-port | master-port) | |
| learning | bool | |
| forwarding | bool | |
| internal-root-path-cost | num | |
| designated-bridge-id | composite_arg { , } | |
| designated-cost | num | |
| designated-internal-cost | num | |
| designated-port-id | composite_arg { , } | |
| designated-remaining-hops | num | |
| tx-rx-bpdu | composite_arg { , } | |
| discard-transitions | num | |
| forward-transitions | num | |
| tx-rx-tc | composite_arg { , } | |
| topology-changes | num | |
| last-topology-change | time |
interface/bridge/vlan
Type: Directory
| Flag | Name | Description |
|---|---|---|
| Y | managed | managed |
| X | disabled | disabled |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| bridge ( mandatory ) | interface_enum | |
| vlan-ids ( mandatory ) | multi_arg { , , range_arg [1 .. 4094] } | |
| tagged | multi_arg { array-id, alt { interface_enum { } { } , enum } { interface_enum { } { } , enum } } | |
| untagged | multi_arg { array-id, alt { interface_enum { } { } , enum } { interface_enum { } { } , enum } } | |
| mvrp-forbidden | multi_arg { array-id, alt { interface_enum { } { } , enum } { interface_enum { } { } , enum } } |
| Read-only Argument | Type | Description |
|---|---|---|
| current-tagged | multi_arg { array-id, interface_enum { } { } } | |
| current-untagged | multi_arg { array-id, interface_enum { } { } } |
interface/bridge/vlan/mvrp
Type: Directory
| Read-only Argument | Type | Description |
|---|---|---|
| bridge | interface_enum | |
| port | interface_enum | |
| vlan-id | num | |
| registrar-state | enum (IN | LV | MT) | |
| applicant-state | enum (Very anxious Observer | Very anxious Passive | Very anxious New | Anxious New | Anxious Active | Quiet Active | Leaving Active | Anxious Observer | Quiet Observer | Anxious Passive | Quiet Passive | Leaving Observer) | |
| last-event | enum (New | JoinIn | In | JoinEmpty | Empty | Leave) |
interface/bridge/host
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| L | local | local |
| E | external | external |
| A | aged | aged |
| a | aged-peer | aged-peer |
| Argument | Type | Description |
|---|---|---|
| mac-address ( mandatory ) | macAddr | |
| vid | num | |
| interface ( mandatory ) | interface_enum | |
| bridge ( mandatory ) | interface_enum |
| Read-only Argument | Type | Description |
|---|---|---|
| on-interface | interface_enum | |
| remote-ip | alt { ipAddr , ip6Addr } | |
| dhcpv4-ip | ipAddr | |
| dhcpv4-server-id | ipAddr | |
| dhcpv4-status | enum (bound | requesting | searching | renewing | rebinding | expired | relay-agent) | |
| dhcpv4-expires-after | time |
interface/bridge/mdb
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| group ( mandatory ) | address (flags=46m) | |
| interface ( mandatory ) | multi_arg { array-id, interface_enum } | |
| bridge ( mandatory ) | interface_enum | |
| vid | num |
| Read-only Argument | Type | Description |
|---|---|---|
| on-interface | multi_arg { array-id, interface_enum } |
interface/bridge/msrp
Conditions: MSRP_ENABLE
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| bridge ( mandatory ) | interface_enum | |
| rank | num | |
| stream-id | composite_arg { , } | |
| talker | interface_enum { none:nv::BADID } | |
| listener | interface_enum { none:nv::BADID } | |
| dst-mac | macAddr | |
| vid | num | |
| max-frame-size | num | |
| max-interval-frames | num | |
| priority | num |
| Read-only Argument | Type | Description |
|---|---|---|
| age | time | |
| active-talker | interface_enum { none:nv::BADID } | |
| active-listener | interface_enum { none:nv::BADID } | |
| debug-info | string |
interface/bridge/msrp/domain
Conditions: MSRP_ENABLE
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| bridge ( mandatory ) | interface_enum | |
| id ( mandatory ) | num | |
| priority | num | |
| vlan-id | num |
interface/bridge/msrp/domain/monitor
Conditions: MSRP_ENABLE
Type: Command
| Read-only Argument | Type | Description |
|---|---|---|
| bridge | interface_enum | |
| id | num | |
| priority | num | |
| vlan-id | num | |
| core-ports | multi_arg { array-id, interface_enum } | |
| boundary-ports | multi_arg { array-id, interface_enum } |
interface/bridge/msrp/domain/attributes
Conditions: MSRP_ENABLE
Type: Directory
| Read-only Argument | Type | Description |
|---|---|---|
| bridge | interface_enum | |
| port | interface_enum | |
| registrar-state | enum (IN | LV | MT) | |
| applicant-state | enum (Very anxious Observer | Very anxious Passive | Very anxious New | Anxious New | Anxious Active | Quiet Active | Leaving Active | Anxious Observer | Quiet Observer | Anxious Passive | Quiet Passive | Leaving Observer) | |
| last-event | enum (New | JoinIn | In | JoinEmpty | Empty | Leave) | |
| id | num | |
| priority | num | |
| vid | num |
interface/bridge/msrp/attributes
Conditions: MSRP_ENABLE
Type: Directory
| Read-only Argument | Type | Description |
|---|---|---|
| bridge | interface_enum | |
| port | interface_enum | |
| type | enum (TLKA | TLKF | LSTN-I | LSTN-AF | LSTN-R | LSTN-RF) | |
| registrar-state | enum (IN | LV | MT) | |
| applicant-state | enum (Very anxious Observer | Very anxious Passive | Very anxious New | Anxious New | Anxious Active | Quiet Active | Leaving Active | Anxious Observer | Quiet Observer | Anxious Passive | Quiet Passive | Leaving Observer) | |
| last-event | enum (New | JoinIn | In | JoinEmpty | Empty | Leave) | |
| stream-id | composite_arg { , } | |
| dst-mac | macAddr | |
| vid | num | |
| max-frame-size | num | |
| max-interval-frames | num | |
| priority | num | |
| rank | num | |
| code | num |
interface/bridge/calea
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| all | switch | |
| static | switch | |
| dynamic | switch | |
| chain ( mandatory ) | enum (input | forward | output) | |
| action | enum (sniff | sniff-pc) | |
| sniff-target | ipAddr { } | |
| sniff-target-port | num { } | |
| sniff-id | num { } | |
| in-interface | super { ! , interface_enum } | |
| in-bridge | super { ! , interface_enum } | |
| out-interface | super { ! , interface_enum } | |
| out-bridge | super { ! , interface_enum } | |
| in-interface-list | super { ! , enum } | |
| out-interface-list | super { ! , enum } | |
| in-bridge-list | super { ! , enum } | |
| out-bridge-list | super { ! , enum } | |
| src-mac-address | super { ! , macAddr , /macAddr } | |
| dst-mac-address | super { ! , macAddr , /macAddr } | |
| mac-protocol | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| src-address | super { ! , ipAddr , /num [ .. 32] } | |
| dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| src-address6 | super { ! , ip6_prefix_arg } | |
| dst-address6 | super { ! , ip6_prefix_arg } | |
| src-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| dst-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ip-protocol | super { ! , enum () { } } | |
| packet-mark | super { ! , enum } | |
| packet-type | super { ! , enum (host | broadcast | multicast | other-host) { host:0, broadcast:1, multicast:2, other-host:3 } } | |
| limit | super { num , [ /time] , ,num } | |
| 802.3-sap | super { ! , num [ .. 0xff] } | |
| 802.3-type | super { ! , num [ .. 0xffff] } | |
| arp-opcode | super { ! , alt { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } } | |
| arp-hardware-type | super { ! , num [ .. 0xffff] } | |
| arp-packet-type | super { ! , num [ .. 0xffff] } | |
| arp-src-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-src-mac-address | super { ! , macAddr , /macAddr } | |
| arp-dst-mac-address | super { ! , macAddr , /macAddr } | |
| arp-gratuitous | super { bool } | |
| vlan-id | super { ! , num [ .. 4095] } | |
| vlan-priority | super { ! , num [ .. 7] } | |
| vlan-encap | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| stp-type | super { ! , alt { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } } | |
| stp-flags | super { ! , alt { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } } | |
| stp-root-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-root-address | super { ! , macAddr , /macAddr } | |
| stp-root-cost | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-address | super { ! , macAddr , /macAddr } | |
| stp-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-msg-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-max-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-hello-time | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-forward-delay | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ingress-priority | super { ! , num [0 .. 63] } | |
| tls-host | super { ! , string } | |
| log | bool | |
| log-prefix | string |
| Read-only Argument | Type | Description |
|---|---|---|
| bytes | num | |
| packets | num |
interface/bridge/calea/reset-counters
Type: Command
interface/bridge/calea/reset-counters-all
Type: Command
interface/bridge/filter
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| all | switch | |
| static | switch | |
| dynamic | switch | |
| chain ( mandatory ) | enum | |
| action | enum (accept | passthrough | drop | jump | return | log | mark-packet | set-priority) | |
| jump-target | enum () | |
| new-packet-mark | enum () | |
| new-priority | num { } | |
| passthrough | bool { } | |
| in-interface | super { ! , interface_enum } | |
| in-bridge | super { ! , interface_enum } | |
| out-interface | super { ! , interface_enum } | |
| out-bridge | super { ! , interface_enum } | |
| in-interface-list | super { ! , enum } | |
| out-interface-list | super { ! , enum } | |
| in-bridge-list | super { ! , enum } | |
| out-bridge-list | super { ! , enum } | |
| src-mac-address | super { ! , macAddr , /macAddr } | |
| dst-mac-address | super { ! , macAddr , /macAddr } | |
| mac-protocol | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| src-address | super { ! , ipAddr , /num [ .. 32] } | |
| dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| src-address6 | super { ! , ip6_prefix_arg } | |
| dst-address6 | super { ! , ip6_prefix_arg } | |
| src-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| dst-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ip-protocol | super { ! , enum () { } } | |
| packet-mark | super { ! , enum } | |
| packet-type | super { ! , enum (host | broadcast | multicast | other-host) { host:0, broadcast:1, multicast:2, other-host:3 } } | |
| limit | super { num , [ /time] , ,num } | |
| 802.3-sap | super { ! , num [ .. 0xff] } | |
| 802.3-type | super { ! , num [ .. 0xffff] } | |
| arp-opcode | super { ! , alt { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } } | |
| arp-hardware-type | super { ! , num [ .. 0xffff] } | |
| arp-packet-type | super { ! , num [ .. 0xffff] } | |
| arp-src-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-src-mac-address | super { ! , macAddr , /macAddr } | |
| arp-dst-mac-address | super { ! , macAddr , /macAddr } | |
| arp-gratuitous | super { bool } | |
| vlan-id | super { ! , num [ .. 4095] } | |
| vlan-priority | super { ! , num [ .. 7] } | |
| vlan-encap | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| stp-type | super { ! , alt { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } } | |
| stp-flags | super { ! , alt { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } } | |
| stp-root-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-root-address | super { ! , macAddr , /macAddr } | |
| stp-root-cost | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-address | super { ! , macAddr , /macAddr } | |
| stp-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-msg-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-max-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-hello-time | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-forward-delay | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ingress-priority | super { ! , num [0 .. 63] } | |
| tls-host | super { ! , string } | |
| log | bool | |
| log-prefix | string |
| Read-only Argument | Type | Description |
|---|---|---|
| bytes | num | |
| packets | num |
interface/bridge/filter/reset-counters
Type: Command
interface/bridge/filter/reset-counters-all
Type: Command
interface/bridge/nat
Type: Directory
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| all | switch | |
| static | switch | |
| dynamic | switch | |
| chain ( mandatory ) | enum | |
| action | enum (accept | passthrough | drop | jump | return | log | mark-packet | set-priority | src-nat | dst-nat | redirect | arp-reply) | |
| jump-target | enum () | |
| new-packet-mark | enum () | |
| to-src-mac-address | macAddr { } | |
| to-dst-mac-address | macAddr { } | |
| to-arp-reply-mac-address | macAddr { } | |
| new-priority | num { } | |
| passthrough | bool { } | |
| in-interface | super { ! , interface_enum } | |
| in-bridge | super { ! , interface_enum } | |
| out-interface | super { ! , interface_enum } | |
| out-bridge | super { ! , interface_enum } | |
| in-interface-list | super { ! , enum } | |
| out-interface-list | super { ! , enum } | |
| in-bridge-list | super { ! , enum } | |
| out-bridge-list | super { ! , enum } | |
| src-mac-address | super { ! , macAddr , /macAddr } | |
| dst-mac-address | super { ! , macAddr , /macAddr } | |
| mac-protocol | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| src-address | super { ! , ipAddr , /num [ .. 32] } | |
| dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| src-address6 | super { ! , ip6_prefix_arg } | |
| dst-address6 | super { ! , ip6_prefix_arg } | |
| src-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| dst-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ip-protocol | super { ! , enum () { } } | |
| packet-mark | super { ! , enum } | |
| packet-type | super { ! , enum (host | broadcast | multicast | other-host) { host:0, broadcast:1, multicast:2, other-host:3 } } | |
| limit | super { num , [ /time] , ,num } | |
| 802.3-sap | super { ! , num [ .. 0xff] } | |
| 802.3-type | super { ! , num [ .. 0xffff] } | |
| arp-opcode | super { ! , alt { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } { enum (request | reply | request-reverse | reply-reverse | drarp-request | drarp-reply | drarp-error | inarp-request | inarp-reply | arp-nak) { request:1, reply:2, request-reverse:3, reply-reverse:4, drarp-request:5, drarp-reply:6, drarp-error:7, inarp-request:8, inarp-reply:9, arp-nak:10 } , num [ .. 65535] } } | |
| arp-hardware-type | super { ! , num [ .. 0xffff] } | |
| arp-packet-type | super { ! , num [ .. 0xffff] } | |
| arp-src-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-dst-address | super { ! , ipAddr , /num [ .. 32] } | |
| arp-src-mac-address | super { ! , macAddr , /macAddr } | |
| arp-dst-mac-address | super { ! , macAddr , /macAddr } | |
| arp-gratuitous | super { bool } | |
| vlan-id | super { ! , num [ .. 4095] } | |
| vlan-priority | super { ! , num [ .. 7] } | |
| vlan-encap | super { ! , alt { enum (length) { length:1, } , num [ .. 65535] } { enum (length) { length:1, } , num [ .. 65535] } } | |
| stp-type | super { ! , alt { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } { enum (config | tcn) { config:0, tcn:0x80 } , num [ .. 255] } } | |
| stp-flags | super { ! , alt { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } { enum (topology-change | topology-change-ack) { topology-change:1, topology-change-ack:0x80 } , num [ .. 255] } } | |
| stp-root-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-root-address | super { ! , macAddr , /macAddr } | |
| stp-root-cost | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-priority | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-sender-address | super { ! , macAddr , /macAddr } | |
| stp-port | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-msg-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-max-age | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-hello-time | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| stp-forward-delay | super { ! , num [0 .. 65535] , -num [0 .. 65535] } | |
| ingress-priority | super { ! , num [0 .. 63] } | |
| tls-host | super { ! , string } | |
| log | bool | |
| log-prefix | string |
| Read-only Argument | Type | Description |
|---|---|---|
| bytes | num | |
| packets | num |
interface/bridge/nat/reset-counters
Type: Command
interface/bridge/nat/reset-counters-all
Type: Command